package com.jack.service

import com.jack.bean.ArtileBean
import com.jack.bean.RespResult
import com.jack.repository.HomeArticleRepo

interface HomeArticleService {
    suspend fun fetchData(): RespResult<ArtileBean>
}

class HomeArticleServiceImpl(private val repo: HomeArticleRepo) : HomeArticleService {
    override suspend fun fetchData(): RespResult<ArtileBean> = repo.fetchData()
}
